*{
	font-family: 'Audiowide';
}

html, body {
	width: 100%;
	height: 100%;
}

body {
	background: -webkit-radial-gradient(center, ellipse cover,  #444 0%,#000000 90%); /* Chrome10+,Safari5.1+ */
	vertical-align: top;
	overflow: hidden;
}

#container {
	width: 80%;
	height: 80%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

/* ------------------- typewritting terminal ------------------- */

.type {
	width: 80%;
	height: 40px;
	border-radius: 10px;
	border: 2px solid #ffffff;
	margin: auto;
}

.type #terminal {
  padding: 0 10px;
  line-height: 40px;
	font-size: 16px;
	color: #ffffff;
	letter-spacing: 2px;
}

.type #terminal::before {
	content: ">";
	margin-right: 10px;
}

/* ------------------- solve buttons ------------------- */

.solve {
  position: absolute;
  left: 80px;
  top: 50%;
  margin-top: -135px;
  display: flex;
  flex-direction: column;
}

.solve button {
	width: 200px;
	margin-bottom: 15px;
}

/* ------------------- twist buttons ------------------- */
.twist {
  position: absolute;
  top: 50%;
  right: 50px;
  margin-top: -240px;
	width: 190px;
}

.twist h1 {
	margin: 0 auto 15px;
  text-align: center;
	color: #ffffff;
	font-size: 20px;
}

.twist button {
  margin-bottom: 10px;
  margin-right: 10px;
}

/* ------------------- buttons ------------------- */

button {
	width:  80px;
	height: 40px;
  color: #fff;
	border-radius: 10px;
	border: 2px solid;
  border-color: #fff;
	font-size: 16px;
	background: none;
	outline: none;
	cursor: pointer;
	-webkit-transition: all .5s;
	transition: all .5s;
	overflow: hidden;
	position: relative;
}

button:before, button:after {
	content: "";
	position: absolute;
	z-index: -1;
	height: 100%;
	width: 0;
	top: 0;
	background-color: #ffffff;
	-webkit-transition: all .4s;
	transition: all .4s;
}

button:before {
	left: -15px;
	-webkit-transform: skew(-45deg, 0);
	transform: skew(-45deg, 0);
}

button:after {
	right: -15px;
	-webkit-transform: skew(-45deg, 0);
	transform: skew(-45deg, 0);
}

button:hover {
	color: #27323A;
}

button:hover:before, button:hover:after {
	width: 80%;
}
